import { request } from '@/utils/request';

const capi = '/abc';

export const postBaseUploadChunk = (data) =>
  request({
    url: `${capi}/base/upload_chunk`,
    headers: {
      'content-type': 'multipart/form-data',
    },
    data,
  });

export const postBaseMergeChunk = (data) =>
  request({ url: `${capi}/base/merge_chunk`, data });

// 验证码
export const postGoCaptchaData = (data) =>
  request({ url: `${capi}/base/go_captcha_data`, data });
